class Response {
  constructor(code, message, data) {
    this.code = code;
    this.message = message;
    this.data = data
  }
  static OK() {
    return new Response(200, "OK", null)
  }
  static ERROR(error) {
    return new Response(error.status, error.message, null)
  }
}
module.exports = Response